Skip to content

Conversation

@vanvuongngo
Copy link

@vanvuongngo vanvuongngo commented Nov 24, 2025

  • Use ansible_facts["fact_name"] (no ansible_ prefix) instead
[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.
[DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
Origin: /Users/asialife/.ansible/collections/ansible_collections/geerlingguy/mac/roles/homebrew/tasks/main.yml:14:9

12     state: directory
13   become: true
14   when: ansible_machine == 'arm64'
           ^ column 9

Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.

@geerlingguy
Copy link
Owner

This should be fixed by 9422d80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants